attribute highp vec3 aPos;
attribute highp vec3 aColor;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

varying highp vec3 pos;
varying highp vec3 color;

void main() {
    gl_Position = projection * view * model * vec4(aPos, 1.0);

    pos = aPos;
    color = aColor;
}

